Under the Windows platform, if you want to parse a X509 certificate file, the most straightforward way is to use Microsoft's CryptoAPI. But under the non-Windows platform, you can only use the powerful open source cross-platform library OpenSSL.
Read into a CER file, CertCreateCertificateContext generate Cert_context. Cert_context there is a cert_info,cert_info in this data structure that has a subjectpublickeyinfo, Subjectpublickeyinfo is a data segment of the Publickey_info type , which
In the previous article, "CSP: Using CryptoAPI to decode X509 certificate content," describes how to use CryptoAPI to decode the certificate file to get the pccert_context method of the certificate context handle. Let's go on to get the desired
Using OpenSSL utilities
An OpenSSL command line takes the following form:
openssl utility arguments
For example:
openssl x509 -in OrbixCA -text
Each Command is individually described in this Appendix. To get a list of the arguments
This is a creation in
Article, where the information may have evolved or changed.
Objective
A digital certificate is a file that is digitally signed by the Certificate Authority center that contains public key owner information and a public key.
This is a creation in
Article, where the information may have evolved or changed.
K8s Offline installation package Three-step installation, simple to unbelievable
Kubeadm Source Code Analysis
To say the truth, Kubeadm code is sincere, the quality is
MSP is the abbreviation of Membership service provider, the personal custom literal translation is the member relation service provider. The role is similar to having a large number of participants in a running fabric system network, which is
Fabric Source Parsing 12--peer MSP service
MSP is the abbreviation for Membership service Provider , and the personal custom is a member relationship service provider . The role is similar to having a large number of participants in a running
Http://blog.chinaunix.net/uid-26575352-id-3073802.html
Common certificate formats and mutual conversionsThe PKCS full name is Public-key cryptography standards, a set of standards developed by RSA Labs and other security system developers to
This is a creation in
Article, where the information may have evolved or changed.
About HTTPS
Background knowledge
Some basic knowledge of cryptography
It is broadly divided into two types, key-based encryption algorithm and non-key-based encryption
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.